// let baseUrl = 'http://ljfl.zhenxiaofei.com/tongji'
let baseUrl = 'http://www.flhspt.com/tongji'
import req from './configApi.js'
// let proxyHttp = '/apiM'
let proxyHttp = ''
export const proveId = function(params) {
    return req.post((proxyHttp || baseUrl)+'/address/get_provinces', params)
}
export const cityId = function(params) {
    return req.post((proxyHttp || baseUrl)+'/address/get_cities', params)
}
export const countyId = function(params) {
    return req.post((proxyHttp || baseUrl)+'/address/get_county', params)
}
export const timeData = function(params) {
    return req.post((proxyHttp || baseUrl)+'/index/get_new_order', params)
}
export const basicInfo = function(params) {
    return req.post((proxyHttp || baseUrl)+'/index/base', params)
}
export const priceList = function(params) {
    return req.post((proxyHttp || baseUrl)+'/index/now_price', params)
}
export const recovery = function(params) {
    return req.post((proxyHttp || baseUrl)+'/index/huishouliang', params)
}
export const canyulv = function(params) {
    return req.post((proxyHttp || baseUrl)+'/index/canyulv', params)
}
export const huishoubili = function(params) {
    return req.post((proxyHttp || baseUrl)+'/index/huishoubili', params)
}
export const orderMount = function(params) {
    return req.post((proxyHttp || baseUrl)+'/index/dingdanliang', params)
}
export const communityLevel = function(params) {
    return req.post((proxyHttp || baseUrl)+'/index/shequ_top', params)
}
export const integralLevel = function(params) {
    return req.post((proxyHttp || baseUrl)+'/index/jifen_top', params)
}
export const categoryApi = function(params) {
    return req.post((proxyHttp || baseUrl)+'/waste_category/index', params)
}